package com.suyang.syt.service.interfaces;

import com.suyang.syt.model.Message;
import com.suyang.syt.model.dto.AjaxObj;
import com.suyang.syt.model.dto.MessageDTO;
import com.suyang.syt.model.dto.PagerEasyUI;

public interface MessageSpreadService {

	public PagerEasyUI<MessageDTO> listByEasyUI(int page, int rows, String sort, String order, String createDate1, String createDate2, String checkName, String checkStatus, String isTime);

	/** 批量删除 */
	public AjaxObj deletes(String ids) throws Exception;

	public void addTask(Message message) throws Exception;

	/** 根据消息ID更新消息状态 */
	public void updateStatus(long id, String timing) throws Exception;

	public Message load(long id) throws Exception;

	/** 系统初始化时,更新已经过时的消息 */
	public String updateInitStatus() throws Exception;

}
